package com.sale.salesystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 仪表板信息实体类
 */
@Data
@TableName("dashboard_info")
public class DashboardInfo {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String description; // 新增：仪表板描述

    private String type;  // 仪表板类型：core, product, customer, shop, income, detail

    private String icon;

    private String status;     // 新增：仪表板状态(DRAFT-草稿,PUBLISHED-已发布)

    private Long ownerId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
} 